<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function fn(n1,a1){
            console.log(n1,a1)
            // let{name:name, age:age,}(形参)={n1:"张三",a1:18}(实参)

        }
        fn({n1:"张三",a1:18})
    </script>
</body>
</html>